<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="Generator" content="EditPlus®">
<meta name="Author" content="">
<meta name="Keywords" content="">
<meta name="Description" content="">
<link rel="stylesheet" href="../css/simple.css" />
<title>ajax1</title>
</head>
<body>
  <div class="box">
    <form id="user-info">
      姓名：<input type="text"  id="user-name" name="user-name"><br>
      Email：<input type="text" id="user-email" name="user-email"><br>
    </form>
    <div id="test01"></div>
    <input onclick="submitData()" type="button" value="提交">
  </div>
<script src="js/ajax.js"></script>
</body>
</html>